<template>
	<view class="content">
		<view class="main">
			<view class="logo">
				<image class="img" :src="$imgUrl + '/logo.png'"></image>
			</view>
			<view class="title">南舒房{{version}}</view>
		</view>
		<uni-list>
			<uni-list-item title="用户隐私政策" link to="agreement"></uni-list-item>
			<uni-list-item title="账号注销" link to="logout"></uni-list-item>
		    <!-- <uni-list-item title="检查更新" :rightText="version" :showArrow="true"></uni-list-item> -->
		</uni-list>
	</view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const version = ref()

//#ifdef APP-PLUS
	// 获取本地应用资源版本号
	plus.runtime.getProperty(plus.runtime.appid, (info) => {
		version.value = info.version;
	})
//#endif


</script>
<style lang="scss" scoped>
.content{
	.main{
		padding: 100rpx 0 40rpx;
		.logo{
			width: 240rpx;
			height: 240rpx;
			margin: 0 auto;
		}
		.title{
			text-align: center;
			font-size: 32rpx;
			color: #666;
			line-height: 88rpx;
		}
	}
	::v-deep.uni-list{
		.uni-list-item__extra-text{
			color: $uni-color-green;
		}
	}
}
</style>
